export tag=v1.0
root:
        export ROOT=gitee.com/gechenxin/cloudnative/3_2_dockerfile_httpserver

build:
        echo "building httpserver binary"
        mkdir -p bin/amd64
        CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/amd64 .

release: build
        echo "building httpserver container"
        docker build -t jackgege/httpserver:${tag} .

push: release
        echo "pushing cloudnative/httpserver"
        docker push jackgege/httpserver:${tag}